/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package servicios.DAO;

import java.util.List;
import modelo.Cliente;
import modelo.Invoice;

/**
 *
 * @author epl
 */
public interface InvoiceDAO {
        public void save (Invoice invoice);
        public Invoice get(long id);
        public Invoice getByNumero (long numero);
        public List<Invoice> getByNumeroList (long numero);
        public List<Invoice> findByFecha (String fecha);
        public List<Invoice> findByCliente (Cliente cliente);
        public List<Invoice> findByEstado (Invoice.Status estado);
        public void dead (long id);
}
